package com.novax.ex.activity.open.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * Description: 币种配置
 *
 * @author shaw
 * @date 11/30/22 14:15
 */
@Schema(description = "币种配置 request")
@Data
public class IeoCurrencyRequest {

    /**
     * 币种名称
     */
    @NotNull
    @Schema(description = "币种名称")
    private String currency;

    /**
     * 每份数量
     */
    @NotNull
    @Schema(description = "每份数量")
    private BigDecimal amount;

    /**
     * 权重
     */
    @NotNull
    @Schema(description = "权重")
    private BigDecimal weight;

    /**
     * 是否为计价币种 (0 = 否, 1 = 是)
     */
    @Schema(description="是否为计价币种 (0 = 否, 1 = 是)")
    private Integer isPricingCurrency;

    /**
     * 计价币种转USDT汇率
     */
    @Schema(description = "计价币种转USDT汇率")
    private BigDecimal usdtRate;
}
